package com.apes.fn.scm.crossCompany.transfer.service;

import com.apes.fn.scm.crossCompany.transfer.model.TransferBatch;
import com.apes.fn.scm.crossCompany.transfer.repository.TransferBatchRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("transferBatchService")
public class TransferBatchService {
    @Autowired
    private TransferBatchRepository transferBatchRepository;

    public void saveAndFlush(TransferBatch batch) {
        transferBatchRepository.saveAndFlush(batch);
    }
}
